#include "SelectServer.hpp"


// ./SelcectServer.exe server_port
int main(int argc, char* argv[]){
    if(argc != 2){
        std::cout << "please usage : ./SelcectServer.exe server_port" << std::endl;
        exit(USAGE_ERROR);
    }

    uint16_t server_port = std::stoi(argv[1]);
    std::unique_ptr<SelectServer> svr = std::make_unique<SelectServer>(server_port);

    svr->Start();

    return 0;
}